#ifndef TOOL_H
#define TOOL_H

#include <QString>
#include <QStringList>
#include <QTableWidget>

class Tool
{
public:
    static const QString DATETIME_FORMAT;

    static void setTableHeaders(QTableWidget* table, const QStringList& horizontalLabels);
    static void appendTableRow(QTableWidget* table, const QStringList& items);

    static void messageHandler(QtMsgType type, const QMessageLogContext& context, const QString& message);
};

#endif // TOOL_H
